package com.huanong.controller;

import com.huanong.common.grace.result.GraceJSONResult;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Api(value = "测试数据库controller", tags = {"测试的controller"})
@RequestMapping("/testData")
@CrossOrigin(origins = "*")
public interface TestDataBaseControllerApi {

    @ApiOperation(value = "测试数据库接口", notes = "测试数据库接口", httpMethod = "GET")
    @GetMapping("/database")
    GraceJSONResult textDataBase();
}
